import { Animal } from "./Animal.js";

export class Lion extends Animal {
    constructor(name) {
        super(name);
        this.weight = 500;
        this.ratio = 20;
    }

    prey() {
        console.log(`${this.name}一天可以吃45公斤的肉，你看到它可要绕道走哦！`);
    }
}